/**
 * Created by Mark_ren on 2016/11/28.
 * 苟富贵,無相忘
 */
var express = require('express');
var router = express.Router();
var qdCodeController = require("../../api/v2.0/admin/qdCode_controller.js");


router.get('/', qdCodeController.getQdQrCodePage);

router.get('/:id', qdCodeController.getQrCodeById);

router.post('/', qdCodeController.addQdQrCode);

router.put('/:id', qdCodeController.updateQdQrCode);

router.delete('/', qdCodeController.deleteQdQrCode);

router.get('/createQr/code', qdCodeController.createQrCode);


module.exports = router;